1cfe4f
@@ -540,11 +540,8 @@
public String toString() {
     if (isSetPassword()) {
       if (!first) sb.append(", ");
       sb.append("password:");
-      if (this.password == null) {
-        sb.append("null");
-      } else {
-        sb.append(this.password);
-      }
+      // Password found and replaced by maven-replacer-plugin in hive-service-rpc.pom. Please update if this file changes.
+      sb.append("-");
       first = false;
     }
     if (isSetConfiguration()) {
